
package com.yuantu.judiciary.model.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


/**
 * 员工对象 employee
 *
 * @author ahadon
 * @date 2023-09-06
 */

@Data
public class DiscountCodeImportVO implements IExcelDataModel, IExcelModel {


    @Excel(name = "推荐码")
    private String discountCode;

    @NotNull(message = "优惠金额不能为空")
    @Excel(name = "优惠金额")
    private Double discountPrice;


    @Excel(name = "账号信息")
    private String accountInfo;


    @Excel(name = "所属人名称")
    private String owner;

    /**
     * 行号
     */
    private int rowNum;

    /**
     * 错误消息
     */
    private String errorMsg;

    @Override
    public Integer getRowNum() {
        return this.rowNum;
    }

    @Override
    public void setRowNum(Integer rowNum) {
        this.rowNum = rowNum;
    }

    @Override
    public String getErrorMsg() {
        return this.errorMsg;
    }

    @Override
    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }




}
